
<template>
<!-- 我的页面组件 -->
  <div class="wrapper">
    <StaticPart/>
    <Nearby/>
  </div>
  <!-- 给Docker子组件绑定一个属性n的值为0 -->
  <Docker :n=0 />
</template>

<script>
// 引入子组件
import StaticPart from './StaticPart'
import Nearby from './Nearby'
import Docker from '../../components/Docker'
export default {
    name:'Home',
    // 使用子组件
    components:{StaticPart,Nearby,Docker}
}

</script>
<style lang="scss" scoped>
.wrapper {
  overflow-y:auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: .5rem;
  padding: 0 .18rem .2rem;
}
</style>